﻿namespace Cos.Module.Form.NHibernate.Test
{
    using System.Collections.Generic;

    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class FormElementChoiceDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapFormElementChoiceDataModel()
        {
            new PersistenceSpecification<FormElementChoiceDataModel>(Session)
                //.CheckComponentList(x => x.FormElementChoiceCultures, new List<FormElementChoiceCultureDataModel>())
                //.CheckReference(x => x.FormElementId, this.FormElement.Id)
                .CheckProperty(x => x.IsDeleted, false)
                .CheckProperty(x => x.Ordering, 1)
                .CheckProperty(x => x.Value, "value")
                .VerifyTheMappings();
        }
    }
}
